home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
robo42_a.zip
/
FIXFILE.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-07-23
|
544b
|
20 lines
@echo off
REM - Here we handle the comment insertion...
IF %2 == ZIP pkzip -z %1 <comment.txt
IF %2 == ARJ arj c -zcomment.txt %1
REM - Now, we try to send any description files to the Robocomm directory...
IF %2 == ZIP pkunzip %1 %ROBODIR% file_id.diz desc.sdi
IF ERRORLEVEL 1 GOTO ERROR
IF %2 == LZH lha e %1 %ROBODIR% file_id.diz desc.sdi
IF ERRORLEVEL 1 GOTO ERROR
IF %2 == ARJ arj e %1 %ROBODIR% file_id.diz desc.sdi
IF ERRORLEVEL 1 GOTO ERROR
GOTO END
:ERROR
CLS
ECHO No FILE_ID.DIZ or DESC.SDI file was found.
:END